const Category = require('../models').Category

const c1 = new Category({
  name: '全部',
  pid: 0
})

c1.save()
  .then(() => {
    console.log('success')
  })
  .catch(err => {
    console.log(err)
  })
